﻿/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【用户】
==================================================================
*/

namespace Entities
{
    /// <summary>
    /// 用户
    /// </summary>
    [SugarTable("dbo.User")]
    public partial class User
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "UserID")]
        public int UserID { get; set; }
        
        /// <summary>
        /// 登录名
        /// </summary>
        [SugarColumn(ColumnName = "LoginName")]
        public string LoginName { get; set; }
        
        /// <summary>
        /// 登录密码
        /// </summary>
        [SugarColumn(ColumnName = "LoginPassword")]
        public string LoginPassword { get; set; }
        
        /// <summary>
        /// 姓名
        /// </summary>
        [SugarColumn(ColumnName = "Name")]
        public string Name { get; set; }
        
        /// <summary>
        /// 工号
        /// </summary>
        [SugarColumn(ColumnName = "JobCode")]
        public string JobCode { get; set; }
        
        /// <summary>
        /// 邮箱
        /// </summary>
        [SugarColumn(ColumnName = "Email")]
        public string Email { get; set; }
        
        /// <summary>
        /// 手机号
        /// </summary>
        [SugarColumn(ColumnName = "Phone")]
        public string Phone { get; set; }
        
        /// <summary>
        /// 身份证号
        /// </summary>
        [SugarColumn(ColumnName = "IdCard")]
        public string IdCard { get; set; }
        
        /// <summary>
        /// 入职日期
        /// </summary>
        [SugarColumn(ColumnName = "InDate")]
        public DateTime? InDate { get; set; }
        
        /// <summary>
        /// 是否删除
        /// </summary>
        [SugarColumn(ColumnName = "IsDelete")]
        public bool IsDelete { get; set; }
        
        /// <summary>
        /// 是否为初始化数据
        /// </summary>
        [SugarColumn(ColumnName = "IsInit")]
        public bool IsInit { get; set; }
        
        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(ColumnName = "CreateUserID")]
        public int CreateUserID { get; set; }
        
        /// <summary>
        /// 创建人姓名
        /// </summary>
        [SugarColumn(ColumnName = "CreateUserName")]
        public string CreateUserName { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime CreateDate { get; set; }
        
        /// <summary>
        /// 修改人
        /// </summary>
        [SugarColumn(ColumnName = "UpdateUserID")]
        public int UpdateUserID { get; set; }
        
        /// <summary>
        /// 修改人姓名
        /// </summary>
        [SugarColumn(ColumnName = "UpdateUserName")]
        public string UpdateUserName { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "UpdateDate")]
        public DateTime UpdateDate { get; set; }
    }
}
